﻿using ConsoleApp2.Models;
using System.Text;

namespace ConsoleApp2.Utils;

public static class Encory
{
    public static string EncryPwd(string pwd)
    {
        pwd = Salt.SaltEryBefore + pwd + Salt.SaltEryEnd;
        StringBuilder newPwd = new StringBuilder();
        for (int i = 0; i < pwd.Length; i++)
        {
            newPwd.Append("asdasd").Append(pwd[i]).Append("sadasdasda");
        }
        return newPwd.ToString();
    }
}